import landedService from "@/serive/landedService";
export default {
    state: {
        remakePage:[]
    },
    getters: {
        getremakePage(state){
            return[...state.getremakePage]
        }
    },
    mutations: {
        setTest(state,data){
            console.log(data);
            state.remakePage=data
        }
    },
    actions: {//异步操作
        async remakePage({commit},{limit,page,reName,reReformCause}){
            let result=await landedService.remakePage(limit,page,reName,reReformCause);
            commit("setTest",result.data)
            return result
        }
    },
   
    // strict: debug
  }